package com.wicket.okrframework.integration.dto;


import com.wicket.okrframework.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @desc HostTypeDto
 * @使用场景
 */
@Data
public class HostTypeDto extends BaseDto implements Serializable {

    /**
     * 宿主类型ID:
     */
    @ApiModelProperty("宿主类型ID")
    private String hostTypeId;

    /**
     * 宿主类型名称:
     */
    @ApiModelProperty("宿主类型名称")
    private String hostTypeName;
    /**
     * 宿主类型编码:
     */
    @ApiModelProperty("宿主类型编码")
    private String hostTypeCode;
    /**
     * 宿主类型身份:
     */
    @ApiModelProperty("宿主类型身份")
    private String categoryTypeCode;
    /**
     * 是否平台数据:
     */
    @ApiModelProperty("是否平台数据")
    private String platformData;
    /**
     * 是否系统类型:
     */
    @ApiModelProperty("是否系统类型")
    private String isSystem;
    /**
     * 是否推荐:
     */
    @ApiModelProperty("是否推荐")
    private String isRecommend;
    /**
     * 是否冻结:
     */
    @ApiModelProperty("是否冻结")
    private String isFreeze;
    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;
    /**
     * 是否存档:
     */
    @ApiModelProperty("是否存档")
    private String isArchive;
    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;
    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;
    /**
     * 宿主身份内容表编码:
     */
    @ApiModelProperty("宿主身份内容表编码")
    private String hostSurfaceCode;
    /**
     * 宿主身份入参外键字段编码:
     */
    @ApiModelProperty("宿主身份入参外键字段编码")
    private String hostInputFieldCode;
    /**
     * 业务身份类型编码:
     */
    @ApiModelProperty("业务身份类型编码")
    private String inputTypeCode;
    /**
     * 系统入参内容表编码:
     */
    @ApiModelProperty("系统入参内容表编码")
    private String inputSurfaceCode;
    /**
     * 是否自动冻结:
     */
    @ApiModelProperty("是否自动冻结")
    private String tempFreezeStatus;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      HostTypeDto that = (HostTypeDto) o;
      return  hostTypeId == that.hostTypeId&&hostTypeName == that.hostTypeName&&hostTypeCode == that.hostTypeCode&&categoryTypeCode == that.categoryTypeCode&&platformData == that.platformData&&isSystem == that.isSystem&&isRecommend == that.isRecommend&&isFreeze == that.isFreeze&&subjectLifeCycle == that.subjectLifeCycle&&isArchive == that.isArchive&&operationInductionId == that.operationInductionId&&operateTime == that.operateTime&&hostSurfaceCode == that.hostSurfaceCode&&hostInputFieldCode == that.hostInputFieldCode&&inputTypeCode == that.inputTypeCode&&inputSurfaceCode == that.inputSurfaceCode&&tempFreezeStatus == that.tempFreezeStatus;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), hostTypeId,hostTypeName,hostTypeCode,categoryTypeCode,platformData,isSystem,isRecommend,isFreeze,subjectLifeCycle,isArchive,operationInductionId,operateTime,hostSurfaceCode,hostInputFieldCode,inputTypeCode,inputSurfaceCode,tempFreezeStatus);
    }

}
